package ${package};

/**
 * @author 杨健
 * @since ${date}
 */
public enum ${entity}FieldEnum {
<#if fieldMap?exists>
<#list fieldMap?keys as key>
    ${key}("${fieldMap["${key}"]}")<#if key_index == ((fieldMap?size) - 1)>;<#else >,</#if>
</#list>
</#if>

    private String fieldName;

    ${entity}FieldEnum(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldName() {
        return this.fieldName;
    }
}
